var IMAGE = null;
var FACE_UP = 0;
var FACE_RIGHT = 1;
var FACE_DOWN = 2;
var FACE_LEFT = 3;


var BLOCK_WIDTH = 32;
var BLOCK_HEIGHT = 32;
var STAGE_MAX_X = 480;
var STAGE_MAX_Y = 480;

var KEY_W = 87;
var KEY_D = 68;
var KEY_S = 83;
var KEY_A = 65;
var KEY_FIRE_1 = 32;

var KEY_UP = 38;
var KEY_RIGHT = 39;
var KEY_DOWN = 40;
var KEY_LEFT = 37;
var KEY_FIRE_2 = 13;